﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="chaxun_laoshi_pingtai.aspx.cs" Inherits="chaxun_laoshi_pingtai" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
      <link href="../style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">  
<table width="700" border="0" cellspacing="0" cellpadding="0" class="font33" align="left" >
                    <tr style="display:none">
		            <td style="width: 546px;padding-top:12px;" class="font3" colspan="2">
                <asp:Button ID="laoshiID" runat="server"></asp:Button></td>
        </tr>
                          <tr>
                            <td><asp:Label ID="Label2" runat="server" Text="     "></asp:Label>
                <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataSourceID="SqlDataSource3"
                    Height="50px" Width="820px" BorderWidth=0 class="border_det">
                    <Fields>
                        <asp:BoundField DataField="username1" HeaderText="老师姓名" SortExpression="username1" />
                        <asp:BoundField DataField="gzdw" HeaderText="工作单位" SortExpression="gzdw" />
                        <asp:BoundField DataField="jigou" HeaderText="所属机构" SortExpression="jigou" />
                        <asp:BoundField DataField="city" HeaderText="所在城市" SortExpression="jigou" />
                        <asp:BoundField DataField="email" HeaderText="email" SortExpression="jigou" />
                        <asp:BoundField DataField="mobile" HeaderText="mobile" SortExpression="jigou" />
                        <asp:TemplateField HeaderText="个人简介">
                            <ItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Height="139px" Text='<%# Eval("grjj") %>'
                                    TextMode="MultiLine" Width="489px"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Fields>
                </asp:DetailsView></td>
                          </tr>
                          <tr>
                            <td>
                <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:gConnectionString %>"
                    SelectCommand="SELECT [id],[city],[username1], [grjj], [gzdw], [jigou],[email],[mobile] FROM [account] WHERE ([id] = @id)">
                    <SelectParameters>
                        <asp:ControlParameter ControlID="laoshiID" Name="id" PropertyName="Text"
                            Type="Int64" />
                    </SelectParameters>
                </asp:SqlDataSource></td>
                          </tr>
                        </table>
                        <a href="laoshi_list.aspx">返回列表</a>
</form>
</body>
</html>

